Updates the version.