modify the dependency topology graph