code: def update(self, identifier, new_instance):
          
          with self.flushing():
              instance = self.retrieve(identifier)
              self.merge(instance, new_instance)
              instance.updated_at = instance.new_timestamp()
          return instance
docs: Update an existing model with a new one.
  
          :raises `ModelNotFoundError` if there is no existing model