Fixup setting of update flags.