update Device and Sensor

TODO: drop client