If it's in a package, you have to deactivate the package using deactivatePackage(packagename);, and then execute it so it will activate the new package with the new code. Also, if it contains datablocks, I'm pretty sure you have to do exec("Path/to/file.cs"); transmitDatablocks();or something like that. Not entirely sure though, as I rarely work with datablocks.