Update memory management