I recommend having a script on the UI elements that watches something in the world, whether by having your instantiation script set up the references, or by having the UI script find what it's supposed to watch automatically (if you only have one player, this is easier).