code: public static AuditEntryBean organizationUpdated(OrganizationBean bean, EntityUpdatedData data,
              ISecurityContext securityContext) {
          if (data.getChanges().isEmpty()) {
              return null;
          }
          AuditEntryBean entry = newEntry(bean.getId(), AuditEntityType.Organization, securityContext);
          entry.setEntityId(null);
          entry.setEntityVersion(null);
          entry.setWhat(AuditEntryType.Update);
          entry.setData(toJSON(data));
          return entry;
      }
docs: Creates an audit entry for the 'organization updated' event.
  @param bean the bean
  @param data the update
  @param securityContext the security context
  @return the audit entry