Update sample1.rb