Made the mxdrfile class a handle class. Now the properties should update as expected.