add debug info to update_version when it fails