Update cpanfile
Add functions to delete threads
Add functions to update threads