update the api when a delivery is deleted
Merge pull request #582 from unikent/bugs/update-api-on-delivery-delete

Update the api when a delivery is deleted