added new method `device/update` for API