diff --git a/CHANGELOG.md b/CHANGELOG.md
index 399dbc8c4c7ac60e883ee07325aae2accd999e98..9d6c6a19c2c913291d8faa002de83c16c1d3cc57 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ### Added ###
 
+### Changed ###
+
+### Deprecated ###
+
+### Removed ###
+
+### Fixed ###
+
+### Security ###
+
+## [4.0.0] - 2021-02-10 ##
+
+### Added ###
+
 * Added a `_get_head_iversion` for non-api usage.
 * Automated documentation builds: `make doc`
 
@@ -65,7 +79,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ### Security ###
 
-## 3.0.0 (2020-09-01) ##
+## [3.0.0] - 2020-09-01 ##
 
 ### Added ###
 
diff --git a/patches/patch20201124-4.0.0-rc2/patch.sh b/patches/patch20201124-4.0.0-rc2/patch.sh
index 5dab9326328a7e7c4d0eef88776438b0f9760fb7..d833ec352f8a4e91b3d29b7df79c8981e78e7c16 100755
--- a/patches/patch20201124-4.0.0-rc2/patch.sh
+++ b/patches/patch20201124-4.0.0-rc2/patch.sh
@@ -24,7 +24,7 @@
 # ** end header
 #
 # Update mysql schema to version v4.0.0-rc1
-NEW_VERSION="v4.0.0-rc2"
+NEW_VERSION="v4.0.0"
 OLD_VERSION="v4.0.0-rc1"
 
 if [ -z "$UTILSPATH" ]; then