update topology class