updating clientmanager initialization and dynamic join