update array.rb