update docs for insertbefore/insertafter