updating tic tac toe game