fix add_docs for cdata
updates for the views