Update device.sh