Fixed lastUpNr
Fixed provisioner restart after self update