add search function for query template data
add log when import data