Rebuild tpl