Fixed a bug in the Update code that was only working on patch versions smaller than 10.