Update for protobuf