Revert "Revert "Update version to 3.1""

This reverts commit c57b47c3957a237737b82db759a884c2086f5e17.