updating alarms db interface