Multiplayer Lobby (widgets)

How does the framework work around lobby widgets?

how does the client update his own widget when player joins / leaves the lobby, i have tried a shitton of things but cant get it to work.

gamestate player array is not the same as the clients player array so its all mixed up.