update index to add templates