add some ref info to table def