title: Updating Slide from Sheets
body: <p>I've google sheet where I update some table using importxml function, and I also get images through it.</p>
  <p>I am trying to update the images getting from importxml function to slides table</p>
  <p>Table in sheet:-
  <a href="https://i.stack.imgur.com/ARSR2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ARSR2.png" alt="enter image description here" /></a></p>
  <p>Table is slide:-</p>
  <p><a href="https://i.stack.imgur.com/TiRFD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TiRFD.png" alt="enter image description here" /></a></p>
  <p>I am currently using this method :-</p>
  <pre><code>function checkking() {
     var slss = SlidesApp.getActivePresentation();
     var slides = slss.getSlides()
     var ss = SpreadsheetApp.openById('1k5krvwszqOVPgVWhmJJyN06bo5nab8inG9_LVKt8nT4')
     var ssname = ss.getSheetByName('Stats Working')
     var Drange = ssname.getRange('I5:N9').getValues();
     
     for(var i = 0 ; i &lt; slides.length ; i++)
     {
       var image = slides[i].getImages()
       for(var j = 0 ; j &lt; Drange.length ; j++)
       {
          var left =  image[j].getLeft()
          var top = image[j].getTop()
          var width =  image[j].getWidth()
          var height = image[j].getHeight()
          image[j].remove()
          slides[i].insertImage(Drange[j][0],left,top,width,height)
       }
     }
  
  
  }
  </code></pre>
  <p>But as you can see images are not getting in proper order, like in sheet, I also want to update the table content
  Can someone guide me, the right method to do it?</p>