update player inventory