Fix bugs when adding/removing Ontologies tree and update DOC