[sdk-register] simplifed the flow.