added reindex from db to elasticsearch