Refactor to improve dynamic GUI update on ontology change