updating delete method for tasks to match TP API requirements