Clean-up

- added a checkbox to control whether to delete files after the update