modify layout tpl