modify deliveries fn