updates to services.js file