added the possibility to change name of the device