Rebuild some function. Update model msg_board.