Fixed Undo Update Issue