memory: as_update_topology_pass: Improve comments