added posting of new and updating existing deliveries