self:GetParent():GetName() == "oUF_Target"
if unit == "target"
therefore, it seems that it doesn't update, so i guess i miss something like an "UpdateRange"
somewhere, but i could'nt find where yet, some help would be appreciated here :)
(yes, i've put also the "object:UpdateRange", and no, it doesn't update either if i put a GetParent/GetName instead of unit)