fixed update.sh