update registry api doc