Update device_manager.rb

use correct