modify the toplogy