Upgrade what? The LXC/VM you just removed because of a wonky script?
Did you purposefully misunderstand me? How did you not know that I meant "how do you update the thing you installed with a rando shell script" and not "how do you update something after removing it"?