updating times for next event