update sensor configuration API