update view index