updates the version