refactor updateOrganization