code: def update_org_invite(cls, module):
          
          try:
              cls.module_registry[module]["OrgInviteModel"]._meta.get_field("invited_by")
          except FieldDoesNotExist:
              cls.module_registry[module]["OrgInviteModel"].add_to_class(
                  "invited_by",
                  models.ForeignKey(
                      USER_MODEL,
                      related_name="%(app_label)s_%(class)s_sent_invitations",
                      on_delete=models.CASCADE,
                  ),
              )
          try:
              cls.module_registry[module]["OrgInviteModel"]._meta.get_field("invitee")
          except FieldDoesNotExist:
              cls.module_registry[module]["OrgInviteModel"].add_to_class(
                  "invitee",
                  models.ForeignKey(
                      USER_MODEL,
                      null=True,
                      blank=True,
                      related_name="%(app_label)s_%(class)s_invitations",
                      on_delete=models.CASCADE,
                  ),
              )
          try:
              cls.module_registry[module]["OrgInviteModel"]._meta.get_field(
                  "organization"
              )
          except FieldDoesNotExist:
              cls.module_registry[module]["OrgInviteModel"].add_to_class(
                  "organization",
                  models.ForeignKey(
                      cls.module_registry[module]["OrgModel"],
                      related_name="organization_invites",
                      on_delete=models.CASCADE,
                  ),
              )
docs: Adds the links to the organization and to the organization user