Function updateGlossaryTerm