update timer calc