@clevername27 well yeah.
This ain't a JetBrains IDE, references don't automatically change everywhere.
It should throw an error (because the property you're now referring to returns undefined), then you know you gotta change it there. But no, it's not automatic.
Same thing if you change the ID of a component in the property editor. Any script references to it are now invalid (because you're getting the reference by means of ID).