change api reference in services.js