Fixing update.sh (fixes #196)