Change how npm update edits package.json

cli

(Gustav Bylund) #1

`npm update` doesn't save package.json
`npm update` doesn't save package.json