I want to make an update script soo when someone else in the channel use a script i made, it will auto update.

I made a update script using a download script i found here in another post, soo main script is in one file and the update is in another. Sofar i have tryed to simple download the main script and reload, via the update script and i think it works, but is it the right way of doing it? or is there a better way?