Update app/models/delivery.rb