added auto binding to template
updates