Update device.go