Update version to 3.1.0 for nodejs semantic versioning