Update query1.tpl

define for STATE missing