Update version numbers to 3.1