update templates and views