update for drawing of the board