modify service.js index.js