diff --git a/README.rst b/README.rst
index 0d5dfe3406eae77d1e61d43facd60a63f69aedac..ebcf9756b4eec183e86adade40741e1093849fb1 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.2-orange.svg
+   :target: https://www.idiap.ch/software/bob/docs/bob/bob.pad.face/v4.0.2/index.html
+.. image:: https://gitlab.idiap.ch/bob/bob.pad.face/badges/v4.0.2/pipeline.svg
+   :target: https://gitlab.idiap.ch/bob/bob.pad.face/commits/v4.0.2
+.. image:: https://gitlab.idiap.ch/bob/bob.pad.face/badges/v4.0.2/coverage.svg
+   :target: https://gitlab.idiap.ch/bob/bob.pad.face/commits/v4.0.2
 .. 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 96d88304b7babc14219f831c34d7e92d4eca3304..4d54daddb617f25a30cbe4bcce8ba4345cea51a6 100644
--- a/version.txt
+++ b/version.txt
@@ -1 +1 @@
-4.0.2b0
+4.0.2