update player class