Update version check for 3.1.0