Update collector.rb