Update methods.rb