edit config from lua to protobuf