change res proto