change the device id function call