moved "AcquireUpgrade" functionality to "SetPlayerData" function, and expanded it to allow losing upgrades