Deleting files after updating