update board.js