readdress bugs in updateBoard