add event tmpl