edit for new term
change text parse to id based parse