Update Templates

Changed as v2 with readonly templates and customizing functions