Update write_list_term.rb