update device class