update component template
rename dots -> templates