timer updating the value