Updating the device type editing