Implemented refresh on term tree.