Clean/Fix update check code.
Punctuation fixed in a comment.