update timer interrupt