2 cent suggestion ... wanna 'better way' of updating and upgrading? (especially considering one is now running a 3.9+ which is barely out of the shrink wrap and will have point release updates to fix code issues. Moodle releases updated code every week!).
That 'better way' is Git.
https://docs.moodle.org/39/en/Git_for_Administrators
no 'moving parts' ... everything stays where it's at ... there's a set of cli only scripts in /admin/cli/ that when used in conjunction with git, will update or upgrade the entire site - minus plugins (which are perhaps best upgraded when your moodle says there is one available).
Like I said ... 2 cent suggestion ... but as long as upgrading is on your mind ... check it out!
'SoS', Ken