Rename the device and the replacement of some files