how to update dependencies