if an update is available, remember it, and clear the flag on upgrade