update perform_alarm task in appointment