Improved the external file updater

Improved the external file updater.