Added updateBoard()