Unity Asset: Update an asset

Hello,

I would know what’s happen for my project when I update an asset I bought.
By this I mean if an asset is update by the dev, do I need to reimport the asset to my project manually for have the last update?

And if I have changed something in the asset code, if I reimport it it will erase my modifciations? (not trying to merged).

Thanks

Make sure that after you modify the asset, call these functions:

EditorUtility.SetDirty(obj);
AssetDatabase.SaveAssets();
// might also need this:
AssetDatabase.ImportAsset("Assets/mypath",ImportAssetOptions.ImportRecursive);