updated alarm model