upgrade client version and protocol version