upgrade_index