version check and update