update.sh improved.