Modify reindex task to work with ES gem