updated elasticsearch client