Connection details can only be updated during check-in or active play.
Some games allow only the match creator to set the room. Others use in-game player IDs shown in the room — you cannot invent a room code for those.
You must be a participant to update or acknowledge connection details.