I updated this function as well to support passing in a vector containing the path to a nested key in order to update the dependencies in the [:profiles :dev :dependencies] node of the project.clj.