update dependencies in pre-existing package.json files