This diff updates the updateRelationships action function to use the new update_relationships2 API, and introduces useUpdateRelationships, a new hook that abstracts some complexity and in following diffs will handle forking between thick/thread logic.
Depends on D13440