modify boardWrite.