Update name device

Why is it that when you assign a name to a device, everything is named correctly, but when you rename it, the old names still linger?

Please explain with examples