Update client.cpp