player class update