Update view index