update the protocolbuf