How to recall provider in ionic 3

i store some data in storage when i dimiss modal storage show old data here is my ts code

update(){

    let udata = {
      "userid": this.userid,
      "deviceid": this.deviceid,
      "name": this.name,
      "contactno": this.contactno,
      "panumber": this.PA,
      "blockname": this.blockname,
      "societyaera": this.SAname,
      "florunit": this.FU,
    }
    

    this.service.post("http://localhost/smartvege/adminpanel/API/updatecustomer.php?access_tocken=ae189b0987d4abc138197a175b488db5",udata).then(data => {
      console.log(data);
      let updatedata ={
        "userid": this.userid,
        "deviceid": this.deviceid,
        "name": this.name,
        "contactno": this.contactno,
        "panumber": this.PA,
        "blockname": this.blockname,
        "societyaera": this.SAname,
        "florunit": this.FU,
      };
      this.storage.set("userdata", updatedata);
      console.log(this.service.userLData);
      
      this.viewCtrl.dismiss({istrue:true});
    })

  

  }

and here is my provoider code

this.storage.get("userdata").then(
        (res)=>{
          this.userLData = res;
          console.log(res)
        });

I’m not seeing the part where you asked any questions, so I’m going to give a generic answer.

It is easy to introduce race conditions in Ionic apps. It is especially easy to do so when attempting to use storage for in-app communication. In addition, it’s not a very performant choice.

So I recommend not doing that. Read from storage only once, at app startup. Use mutually injected providers and RxJS for communicating across parts of the app while it is running, not storage. Use storage only for saving information that will be used in future times the app is launched.