speed up to get_upgrades_ep