def METHOD_NAME(self, mine_guid, mine_alert_guid):
    alert = MineAlert.find_by_guid(mine_alert_guid)
    data = self.parser.parse_args()
    all_mine_alerts = MineAlert.find_by_mine_guid(mine_guid)
    historic_alerts = [_alert for _alert in all_mine_alerts if _alert.start_date >= data.get('start_date') and str(_alert.mine_alert_guid) != mine_alert_guid]
    if not alert:
        raise NotFound('Mine alert with guid "{mine_alert_guid}" not found.')
    if not alert.is_active:
        raise BadRequest('Cannot update an inactive alert.')
    if len(historic_alerts) > 0:
        raise BadRequest('Start date cannot come before a historic alert. Please check history for more details.')
    alert.update(data.get('start_date'), data.get('end_date'), data.get('contact_name'), data.get('contact_phone'), data.get('message'))
    alert.save()
    return alert, 200