tweak update.sh; fix keep_unread