index template and index view change