updates index view