update update script to cd to correct dir