updating alarm format