Adds `nvm update` command

I'm not sure how to write tests for this - I'd love some guidance.