updates the underlying code of tic tac toe
updates the underlying code of tic tac toe