Updated devices.rb