The Application property of the Document object provides access to the Application object. The Application object is above the Document object in the object hierarchy.
The ThisDrawing object provides access to the Document object. For example, the following line of code updates the application:
ThisDrawing.Application.Update