update config/index tpl