Clarify update-index logic a bit