changing the dependency graph