change nvm code