Fix a problem that update.sh wont respect options