added some to updateBoardGraphic