Update device.java