change the index tpl