Update Device.java