[doc] update doc to use simple array model and registry helper.