modify elasticSearch file