build: add cleanup to updater script