add npm test in auto-update.sh