Update layer-service.js