added tbl_ Templates queries for DB