diff --git a/README.rst b/README.rst
index 9d259c07b91cac686e69ea6bc6bf71b73f4058f4..d6d7eb67d529abc4365f8519b0c121270d4c30e3 100644
--- a/README.rst
+++ b/README.rst
@@ -1,14 +1,14 @@
 .. vim: set fileencoding=utf-8 :
 .. Thu 11 Aug 2016 09:34:29 CEST
 
-.. image:: http://img.shields.io/badge/docs-v3.1.2-yellow.svg
-   :target: https://www.idiap.ch/software/bob/docs/bob/bob.math/v3.1.2/index.html
+.. image:: http://img.shields.io/badge/docs-stable-yellow.svg
+   :target: https://www.idiap.ch/software/bob/docs/bob/bob.math/stable/index.html
 .. image:: http://img.shields.io/badge/docs-latest-orange.svg
    :target: https://www.idiap.ch/software/bob/docs/bob/bob.math/master/index.html
-.. image:: https://gitlab.idiap.ch/bob/bob.math/badges/v3.1.2/build.svg
-   :target: https://gitlab.idiap.ch/bob/bob.math/commits/v3.1.2
-.. image:: https://gitlab.idiap.ch/bob/bob.math/badges/v3.1.2/coverage.svg
-   :target: https://gitlab.idiap.ch/bob/bob.math/commits/v3.1.2
+.. image:: https://gitlab.idiap.ch/bob/bob.math/badges/master/build.svg
+   :target: https://gitlab.idiap.ch/bob/bob.math/commits/master
+.. image:: https://gitlab.idiap.ch/bob/bob.math/badges/master/coverage.svg
+   :target: https://gitlab.idiap.ch/bob/bob.math/commits/master
 .. image:: https://img.shields.io/badge/gitlab-project-0000c0.svg
    :target: https://gitlab.idiap.ch/bob/bob.math
 .. image:: http://img.shields.io/pypi/v/bob.math.svg
diff --git a/version.txt b/version.txt
index 6ebad1488812c78185c6791d1ac48b7b5f8aca41..ba1053ecd0644155680bcaea68a33f9d54af6b9e 100644
--- a/version.txt
+++ b/version.txt
@@ -1 +1 @@
-3.1.2
\ No newline at end of file
+3.1.3b0
\ No newline at end of file