upgrade method updated to invert the logic and return failure in result, if input validation fails, final validation will be done base on sysupgrade ubus event.
sysupgrade