'Updates fields of an object that are not forbidden to be updated.
:param obj_data: the full set of object data
:type obj_data: dict
:param reset_changes: indicates whether the object\'s current set of
changed fields should be cleared
:type reset_changes: boolean
:returns: None'

def update_fields(self, obj_data, reset_changes=False):

    if reset_changes:
        self.obj_reset_changes()
    for (k, v) in obj_data.items():
        if (k not in self.fields_no_update):
            setattr(self, k, v)
