update player and game