update the game