on connect, now the devicename is added