edit device name empty to device_model instead