'Get the latest data for current email from REST service.'

@Throttle(MIN_TIME_BETWEEN_UPDATES, MIN_TIME_BETWEEN_FORCED_UPDATES)
def update(self, **kwargs):

    try:
        url = 'https://haveibeenpwned.com/api/v2/breachedaccount/{}'.format(self._email)
        _LOGGER.info('Checking    for    breaches    for    email    %s', self._email)
        req = requests.get(url, headers={'User-agent': USER_AGENT}, allow_redirects=True, timeout=5)
    except requests.exceptions.RequestException:
        _LOGGER.error('Failed    fetching    HaveIBeenPwned    Data    for    %s', self._email)
        return
    if (req.status_code == 200):
        self.data[self._email] = sorted(req.json(), key=(lambda k: k['AddedDate']), reverse=True)
        self.set_next_email()
    elif (req.status_code == 404):
        self.data[self._email] = []
        self.set_next_email()
    else:
        _LOGGER.error('Failed    fetching    HaveIBeenPwned    Data    for    %s(HTTP    Status_code    =    %d)', self._email, req.status_code)
