Update version to 4.0 in package.json