Interesting concept, but this is an Arduino (though if it is interacting with the Internet, it is far more likely to be an ESP), not a PC, so why would there be a need to "update" the code?
The ESPs facilitate OTA code update, but generally on a "push" rather than a "pull" basis.
Enhancement by remote access is much easier using an interpretive system such as FORTH or Lua.