Update a memory.
This is a method of the Knowledge class in the knowledge module.
def update(memory_id: Any, data: Any) -> Any