Updated server/client to send data