diff --git a/README.rst b/README.rst
index a33a489b99f7979d519bb53cf0b9b1d88061a1e0..f020b68f2a288204487936aa968baf20073967c8 100644
--- a/README.rst
+++ b/README.rst
@@ -2,12 +2,12 @@
 .. Pavel Korshunov <pavel.korshunov@idiap.ch>
 .. Wed 19 Oct 22:36:22 2016 CET
 
-.. image:: https://img.shields.io/badge/docs-latest-orange.svg
-   :target: https://www.idiap.ch/software/bob/docs/bob/bob.pad.base/master/index.html
-.. image:: https://gitlab.idiap.ch/bob/bob.pad.base/badges/master/pipeline.svg
-   :target: https://gitlab.idiap.ch/bob/bob.pad.base/commits/master
-.. image:: https://gitlab.idiap.ch/bob/bob.pad.base/badges/master/coverage.svg
-   :target: https://gitlab.idiap.ch/bob/bob.pad.base/commits/master
+.. image:: https://img.shields.io/badge/docs-v5.0.2-orange.svg
+   :target: https://www.idiap.ch/software/bob/docs/bob/bob.pad.base/v5.0.2/index.html
+.. image:: https://gitlab.idiap.ch/bob/bob.pad.base/badges/v5.0.2/pipeline.svg
+   :target: https://gitlab.idiap.ch/bob/bob.pad.base/commits/v5.0.2
+.. image:: https://gitlab.idiap.ch/bob/bob.pad.base/badges/v5.0.2/coverage.svg
+   :target: https://gitlab.idiap.ch/bob/bob.pad.base/commits/v5.0.2
 .. image:: https://img.shields.io/badge/gitlab-project-0000c0.svg
    :target: https://gitlab.idiap.ch/bob/bob.pad.base
 
diff --git a/version.txt b/version.txt
index 1e032ba30cf734bc9759b557bed7228ada06c85c..a1ef0cae1833461faa044dad33ce6f3a7acba402 100644
--- a/version.txt
+++ b/version.txt
@@ -1 +1 @@
-5.0.2b0
+5.0.2