diff --git a/pom.xml b/pom.xml
index b24f1666..b1f0b00a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -170,7 +170,7 @@
org.elasticsearch.client
elasticsearch-rest-high-level-client
- 7.16.1
+ 7.13.4
com.amazonaws
diff --git a/src/main/java/uk/org/llgc/annotation/store/adapters/elastic/ElasticStore.java b/src/main/java/uk/org/llgc/annotation/store/adapters/elastic/ElasticStore.java
index b30e6315..315d8242 100644
--- a/src/main/java/uk/org/llgc/annotation/store/adapters/elastic/ElasticStore.java
+++ b/src/main/java/uk/org/llgc/annotation/store/adapters/elastic/ElasticStore.java
@@ -27,9 +27,9 @@
import uk.org.llgc.annotation.store.adapters.StoreAdapter;
import uk.org.llgc.annotation.store.adapters.AbstractStoreAdapter;
-import org.elasticsearch.xcontent.XContentBuilder;
+import org.elasticsearch.common.xcontent.XContentBuilder;
import org.elasticsearch.common.text.Text;
-import org.elasticsearch.xcontent.XContentFactory;
+import org.elasticsearch.common.xcontent.XContentFactory;
import org.elasticsearch.client.RestHighLevelClient;
import org.elasticsearch.client.RestClientBuilder;