Update write_list.rb