average time update when end timer every time