Upgrade version to 3.1-rc1