Does Appium desktop automatically update node modules of Appium server such as appium-anroid-driver or appium-xcuitest-driver?

Can someone please explain the Appium architecture from release and update perspective ?

We know that Appium desktop installs all the required node modules on its own.

Does Appium desktop also handle the update of its node modules in its beta or stable releases.?
OR
Are we supposed to update node modules manually using npm?