Upgrade API version to 31.0

Upgrade API version to 31.0