Hello again

I think the following library should allow you to switch between WiFi or Ethernet OTA:

https://github.com/espressif/arduino-esp32/tree/master/libraries/Update

Use it with either a WiFiClient or EthernetClient client.

Cheers
Felix