Update elasticsearch_spec.