update timer
minor fix