If you resources contains a files folder, make sure to save it before deleting your script as this folder usually contains the data for your entire script (acts like a database).
Saving a backup for the older version is always a good measure. Scripts occasionally break due to potential compatibility issues with the old data.
You can simply update your script by redownloading the asset from your FiveM Keymaster account.