add all record utils

change record invoke and queryforrecord in tables
comment