fix version comparison between release and prerelease, e.g. 2.9.7 and 2.9.6.2
update to 2.9.7