diff --git a/README.rst b/README.rst
index d6d7eb67d529abc4365f8519b0c121270d4c30e3..4b2e79752331822532ee1ce30b613b3fdfdb89fc 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-stable-yellow.svg
-   :target: https://www.idiap.ch/software/bob/docs/bob/bob.math/stable/index.html
+.. image:: http://img.shields.io/badge/docs-v3.1.3-yellow.svg
+   :target: https://www.idiap.ch/software/bob/docs/bob/bob.math/v3.1.3/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/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://gitlab.idiap.ch/bob/bob.math/badges/v3.1.3/build.svg
+   :target: https://gitlab.idiap.ch/bob/bob.math/commits/v3.1.3
+.. image:: https://gitlab.idiap.ch/bob/bob.math/badges/v3.1.3/coverage.svg
+   :target: https://gitlab.idiap.ch/bob/bob.math/commits/v3.1.3
 .. 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 ba1053ecd0644155680bcaea68a33f9d54af6b9e..711ee4f504af604a1be58325663a760990cf3783 100644
--- a/version.txt
+++ b/version.txt
@@ -1 +1 @@
-3.1.3b0
\ No newline at end of file
+3.1.3
\ No newline at end of file