Update TopologyManager/tm.cpp