code: def update(self):
          
          if not self.canvas:
              return
          for visual in self.canvas.visuals:
              self.update_program(visual.program)
          self.canvas.update()
docs: Update all visuals in the attached canvas.