update layout tmpl