update npmrc and node paths