update discountoffers.rb -- still not functioning