Updating relationship references