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/patch20210211-4.0.0/patch.sh b/patches/patch20210211-4.0.0/patch.sh
new file mode 100755
index 0000000000000000000000000000000000000000..4f615250edea916c62c32378250233d5b5670022
--- /dev/null
+++ b/patches/patch20210211-4.0.0/patch.sh
@@ -0,0 +1,43 @@
+#!/bin/bash
+#
+# ** header v3.0
+# This file is a part of the CaosDB Project.
+#
+# Copyright (C) 2018 Research Group Biomedical Physics,
+# Max-Planck-Institute for Dynamics and Self-Organization Göttingen
+# Copyright (C) 2020-2021 IndiScale GmbH <info@indiscale.com>
+# Copyright (C) 2020-2021 Timm Fitschen <t.fitschen@indiscale.com>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+#
+# ** end header
+#
+# Update mysql schema to version v4.0.0-rc1
+NEW_VERSION="v4.0.0"
+OLD_VERSION="v4.0.0-rc2"
+
+if [ -z "$UTILSPATH" ]; then
+ UTILSPATH="../utils"
+fi
+
+. $UTILSPATH/patch_header.sh $*
+
+check_version $OLD_VERSION
+
+# nothing to do, just version update
+
+update_version $NEW_VERSION
+
+success
+