Update client cpp