Revise update logic.