updated timer to count down