update templates in index