Update sample-service.cpp