refractored the api register for urc command object