Refreshing indices after modification.