More update logic.