sample and index updates