change the index view