update count down and alert