diff --git a/README.rst b/README.rst
index 0d5dfe3406eae77d1e61d43facd60a63f69aedac..f884f4e0120c0b7f95cae6fbc1e20f16ae8dbaee 100644
--- a/README.rst
+++ b/README.rst
@@ -1,12 +1,12 @@
 .. vim: set fileencoding=utf-8 :
 .. Thu May  4 16:29:23 CEST 2017
 
-.. image:: https://img.shields.io/badge/docs-latest-orange.svg
-   :target: https://www.idiap.ch/software/bob/docs/bob/bob.pad.face/master/index.html
-.. image:: https://gitlab.idiap.ch/bob/bob.pad.face/badges/master/pipeline.svg
-   :target: https://gitlab.idiap.ch/bob/bob.pad.face/commits/master
-.. image:: https://gitlab.idiap.ch/bob/bob.pad.face/badges/master/coverage.svg
-   :target: https://gitlab.idiap.ch/bob/bob.pad.face/commits/master
+.. image:: https://img.shields.io/badge/docs-v4.0.0-orange.svg
+   :target: https://www.idiap.ch/software/bob/docs/bob/bob.pad.face/v4.0.0/index.html
+.. image:: https://gitlab.idiap.ch/bob/bob.pad.face/badges/v4.0.0/pipeline.svg
+   :target: https://gitlab.idiap.ch/bob/bob.pad.face/commits/v4.0.0
+.. image:: https://gitlab.idiap.ch/bob/bob.pad.face/badges/v4.0.0/coverage.svg
+   :target: https://gitlab.idiap.ch/bob/bob.pad.face/commits/v4.0.0
 .. image:: https://img.shields.io/badge/gitlab-project-0000c0.svg
    :target: https://gitlab.idiap.ch/bob/bob.pad.face
 
diff --git a/version.txt b/version.txt
index 20a12d1fca7ee36d2bb7244c051f4463be9b97b5..fcdb2e109f68cff5600955a73908885fe8599bb4 100644
--- a/version.txt
+++ b/version.txt
@@ -1 +1 @@
-3.1.1b0
+4.0.0