Fixed bug in update checker