Correct the update procedure