Removed upgrade cmd, returned -1 for some reason