Update `records` every `update_interval` seconds

def update_continuously(records, update_interval=600):
    """Update `records` every `update_interval` seconds"""
    while True:
        for record in records:
            try:
                record.update()
            except (ApiError, RequestException):
                pass
        time.sleep(update_interval)