update elasticsearch.yml config
fix formula