modify the model to support service and service provider nodes