updates to ontology and code to improve features