What does update actually do? Upon updating CraftCMS via CP > Utilities or Terminal, does this update only the vendor folder? Or does it also change structure in the DB and other files outside the vendor?
DB and eventually others files are updated in the first request after the Update.