added code to push events to elasticsearch and to delete events when reprocessing an article.