updated server. added client