update topology file