update a dependency.