set index template to history