updating the game