update Device and Node