diff --git a/README.rst b/README.rst
index ad9008bfc5c6cdff94c79eee614f586fa46f8a6e..a33a489b99f7979d519bb53cf0b9b1d88061a1e0 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-v5.0.4-orange.svg
-   :target: https://www.idiap.ch/software/bob/docs/bob/bob.pad.base/v5.0.4/index.html
-.. image:: https://gitlab.idiap.ch/bob/bob.pad.base/badges/v5.0.4/pipeline.svg
-   :target: https://gitlab.idiap.ch/bob/bob.pad.base/commits/v5.0.4
-.. image:: https://gitlab.idiap.ch/bob/bob.pad.base/badges/v5.0.4/coverage.svg
-   :target: https://gitlab.idiap.ch/bob/bob.pad.base/commits/v5.0.4
+.. 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/gitlab-project-0000c0.svg
    :target: https://gitlab.idiap.ch/bob/bob.pad.base
 
diff --git a/version.txt b/version.txt
index 2d6c0bcf19cd7e0efee4b79493a500875568a44a..f4939080b892a87661f310207a4c09a52639a640 100644
--- a/version.txt
+++ b/version.txt
@@ -1 +1 @@
-5.0.4
+5.0.5b0