update index tpl