update timer
update timer