Update module dependency graph.