Added a check on the upgrade option to make sure we aren't constantly re-updating the option for no reason