change alarm decleration