functions  completed
update reversi