update of game flow