updating countdownattr in every tick for proper two-way databinding.