Fixed checkupdates bug