Fix bug in update check and fix cover download condition