Update updateDependencies.