update Timer and TimerThread as double