Update train_term.rb