updateGold added