update game.