indexing machinery.
updating index.