add in tempalte1 to the databse sql check