use new merklemap API