Update board.cpp