code: def updateEvent(self, event=None, home=None):
          
          if not home: home=self.default_home
          if not event:
              #If not event is provided we need to retrieve the oldest of the last event seen by each camera
              listEvent = dict()
              for cam_id in self.lastEvent:
                  listEvent[self.lastEvent[cam_id]['time']] = self.lastEvent[cam_id]
              event = listEvent[sorted(listEvent)[0]]
  
          home_data = self.homeByName(home)
          postParams = {
              "access_token" : self.getAuthToken,
              "home_id" : home_data['id'],
              "event_id" : event['id']
          }
          resp = postRequest(_GETEVENTSUNTIL_REQ, postParams)
          eventList = resp['body']['events_list']
          for e in eventList:
              self.events[ e['camera_id'] ][ e['time'] ] = e
          for camera in self.events:
              self.lastEvent[camera]=self.events[camera][sorted(self.events[camera])[-1]]
docs: Update the list of event with the latest ones