update check_download_upgrade