Fixed bug showing '-1' at end of update version