Update dependencies graph