Repaired view update logic.