update update script to npm install in the right dir