modified client-server connection to reflect newest changes