update the term writer