Updating version number to v1.31.1.