adapt code, test and doc to latest dstore