update tic-tac-toe