Update upgrades.js