add insert_wiki_ids and insert_entities