updated the player