update Timer class