An adaptive real-time disruption predictor for ASDEX Upgrade