Automatically update index on view.