replace the proto files