update dependency graph