Update memory with new edits