update.sh: add auto update script