code: def update_entity(self, entity, agent=None, metadata=None):
          
          self._entity_manager.update_entity(entity, agent=agent,
                  metadata=metadata)
docs: Only the agent_id and metadata are able to be updated via the API.