fix timer to updates values