Electron: Product Updates, OTA flashing and SEMI-Automatic Mode

Does "enable Updates" mean 'generally' enabling automatic updates or enabling the update process in this specific run?
Or does the Electron just start updating?

I just found this:

Does this mean, I'll just check whether there are updates pending and if thats the case, I'll just give it delay of 1-2 minutes to make sure the update installs properly.

The only thing I am wondering is, WHEN the update process starts and how to make sure my code is executed first.

EDIT:

I just found this and it (kind of) answered my question.

I will just insert the code I mentioned above (longer delay when update is available) and that should be it, right?