Update a dependency