upate tictactoe example