docs update and fix to service registering