up date device.main