update: set location for device, both update local device list and
remote device.