update device, sensor funcion