update the file gtable.cpp and gtable.h,delete some funtions and modified some functions' name