update Compare_topo