Update client and server code.