fixed bug in update checker