update copy_alarm method