code: def updated(self, instance):
          
          self.session_manager.save(instance, commit=True)
          return instance
docs: Convenience method for updating a model (automatically commits it to
          the database and returns the object with with an HTTP 200 status code)