update topology js