make auto updating process remove temporary files that are left around