Edited if statement around the update checker; may be cause of bug