My player reference device isn't being updated by my code and I'm not sure why

Hi, I’m trying to show the team members as holograms with the player reference device.
Tried to modife my PlayerSlot code to add this to it, I get no erros but the reference device isn’t doing anything. and idea why? thanks!

var SlotAgent : ?agent = false
..
@editable TeamSelector : class_and_team_selector_device = class_and_team_selector_device{}
@editable PlrRefDevice : player_reference_device = player_reference_device{}

Assign(Agent : agent):logic={
if(SlotAgent?){
PlrRefDevice.Clear
return false
}
TeamSelector.ChangeTeam(Agent)
OnPlayerSpawned(Agent)
Currencyui.AddUI()
PlrRefDevice.Register(Agent)
return true
}