update loop in countdown_timer