@Thilina Dodangoda Thanks for posting in our Q&A.
Based on my understanding, there is no method will overwrite old device information with new device information. Despite the same name, other information about the devices is different, so intune doesn't define them as the same device.
If we want to use the new device with the same device and scrap old device, it is suggested to remove the old device in intune portal.
Thanks for understanding.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.