adde dpromise docs and extend docs