testing updating and newdevice.txt