update example to use local services.h