update dependencies and devDependencies
test if it doesn't modify option object