fixes issue with updating deliveries