add term and term_relation