upgrades and stats fix