index is changed.