code: def perform_partial_update(self, data, instance):
          
  
          for key, val in data.items():
              setattr(instance, key, val)
docs: Hook for controlling the update of an model instance. Override this if you need to do more with your
          data before updating the object than just mapping the deserialized data to the attribute of the instance.