updates for init client and server