Fixed bug in auto-update class

- The new class now determines correctly the list of update methods to run, handling versions such as 1.2.34.567.