Update layout.tmpl