update index template && configuration file