code: function update(oldRecord, updatedFields)
  {
  	var newRecord = {};
  	for (var key in oldRecord)
  	{
  		var value = (key in updatedFields) ? updatedFields[key] : oldRecord[key];
  		newRecord[key] = value;
  	}
  	return newRecord;
  }
docs: RECORDS