Update Device.java

Returns Device,Option and History Id's