Update boardstate.cpp_v3