Update libtable.cpp