updating for alarms