how does the custom directory updated during suitecrm upgrade?

do we have to reedit the file using the new version and apply modifications from a fresh update copy of main module?

The more I think about this the more I think I should revise my custom directory to use current version…