update offer-service.js