Updates the dependencies