Update elasticsearch config