UPDATE directory_contacts SET organization_id=NULL,updated_at=datetime('now')
WHERE kind='organization' AND organization_id IS NOT NULL;
