Update service.js