update countdownlatchdemo