Normally, adding or removing document actions on the ISupportDocumentActions.OnQueryDocumentActions or QueryDocumentActions events does not require updating containers manually. If needed, call the UpdateDocumentActions method to update these actions.