Remove unnecessary index updates