indexer: update_document -> add_document

update_document() is too slow and the Index.purge() method deals with
duplicates anyway.