Update record.rb