add version and update check.