1st update client.c