undo logging in Memory : First iteration