fixed the timing of updates