updates to editTermUI as well as relevant API changes