Added back UpdateInventory, seems to be needed