update index view controller