updated tic_tac_toe