update protobuf helper