start game and end game update