Automatic updates fix

Made the version number update properly