updating docs for dom