Why delete other files after update?

After running

sudo ./scripts/update/update --repo getumbrel/umbrel#v0.5.3^

The script deleted all my files in the folder. This is unfortunate for me because I had my bitcoin data file in that directly.

This is really bad and destructive practice for update to just delete everything on its path. Do not delete files that already existed if it is not part of the new install.

In really bad mood.