function localstorage_InsUpdate(name,val){

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

  //console.log(val)

  //console.log(dt)

  if(dt.status==true) {

    let dt2=array_combine(dt.data,val,'id');

    //console.log(dt2)

    set_localstorage(name, dt2);  

  } else {

    //console.log(data)

    set_localstorage(name, val);  

  }

}