Update Device.cpp