chaning index view.