Zend certified PHP/Magento developer

Magento 2 update requirejs-config.js

We are using the Magento 2.3.5 version we want to update the version from 3.79.1 to 3.97.0 in requirejs-config.js

file-path – vendor/gene/module-braintree/view/base/requirejs-config.js

when we are override in our theme with an updated version – app/design/frontend/Infortis/base/Magento_Paypal/requirejs-config.js

Then in the browser view page source it is showing 2 times instead of 1.SO it is not override it just add new there.

How to override requirejs-config.js ?