Hue Slim Downlight replacing regular slim downlight?

Sorry if this has been posted before, I couldn’t find anything about this if it has. But if I already have some downlights that use what looks to be the same connection, would I need to remove the old connection and re-install the Hue boxes? Or if the plug fits what’s already there, is it fine to just plug in the Hue? I haven’t done electrical before so I want to make sure I’m a) not taking unnecessary risks by replacing wiring when I don’t have to, and b) doing it right so the power is supplied properly. Thanks in advance!