Fixed order of check-ups when generating or updating cache file.
Merge pull request #10 from dporro/update_info

Fixed order of check-ups when generating or updating cache file.