diff --git a/orekit_jpype/pyhelpers.py b/orekit_jpype/pyhelpers.py
index d25fb85244e18002fb59ee281e151efb993b00ca..f2082183a43392db70987aa927db42c1b9d0e7f0 100644
--- a/orekit_jpype/pyhelpers.py
+++ b/orekit_jpype/pyhelpers.py
@@ -52,7 +52,7 @@ def download_orekit_data_curdir(filename='orekit-data.zip'):
     Args:
         filename (str): Store the downloaded data as this filename/path. Default is "orekit-data.zip"
     """
-    url = "https://gitlab.orekit.org/orekit/orekit-data/-/archive/master/orekit-data-master.zip"
+    url = "https://gitlab.orekit.org/orekit/orekit-data/-/archive/main/orekit-data-main.zip"
     # Download the orekit-data file and store it locally
 
     with urlrequest.urlopen(url) as response, open(filename, 'wb') as out_file:
diff --git a/pyproject.toml b/pyproject.toml
index 8e05a50037bd3f51e4b02dad35cde712934c524c..7230f9924196b5010c2eb6f10483cd696535a197 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -7,7 +7,7 @@ allow-direct-references = true
 
 [project]
 name = "orekit_jpype"
-version = "12.2.1.1"
+version = "12.2.1.2"
 description = "A space dynamics library. This package is a jpype wrapping of the original orekit java code."
 readme = "README.md"
 authors = [{name = "Petrus Hyvönen", email = "petrus.hyvonen@gmail.com"}]