updatd API calls in ontology_helper  script