code: async def update(self):
          
  
          if self.update_lock.locked():
              return
  
          async with self.update_lock:
              if self.update_lock.locked():
                  # if this engagement has caused the semaphore to exhaust,
                  # we are overloaded and need to calm down.
                  await asyncio.sleep(1)
  
              if not self.message:
                  # too fast, stagger so this update gets through
                  await asyncio.sleep(0.5)
  
              if not self.sent_page_reactions and self.page_count > 1:
                  self.bot.loop.create_task(self.send_all_reactions())
                  self.sent_page_reactions = True  # don't spawn any more tasks
  
              await self.message.edit(**self.send_kwargs)
docs: Updates this interface's messages with the latest data.