function localstorage_update(name,i,val){

  let dt2=get_localstorage(name) || [];

  //console.log(val)

  //console.log('id update: '+i+', val:'+val)

  if(dt2.status==true) {

    let dt=dt2.data;

    //console.log('awal')

    //console.log(dt)

    dt[i].select=val;

    //console.log('setelah update')

    //console.log(dt)

    set_localstorage(name, dt);  

  } 

}