fill out upgrades_from in cards.js