Bug: updater was not flushing state file when domains were not updated successfully