[fix] contact address link patch
diff --git a/erpnext/patches/v7_2/contact_address_links.py b/erpnext/patches/v7_2/contact_address_links.py
index 490834b..be256f2 100644
--- a/erpnext/patches/v7_2/contact_address_links.py
+++ b/erpnext/patches/v7_2/contact_address_links.py
@@ -1,8 +1,10 @@
 import frappe
+from frappe.core.doctype.dynamic_link.dynamic_link import deduplicate_dynamic_links
 
 def execute():
-	frappe.reload_doctype('Contact')
-	frappe.reload_doctype('Address')
+	frappe.reload_doc('core', 'doctype', 'dynamic_link')
+	frappe.reload_doc('email', 'doctype', 'contact')
+	frappe.reload_doc('geo', 'doctype', 'address')
 	map_fields = (
 		('Customer', 'customer'),
 		('Supplier', 'supplier'),
@@ -21,4 +23,5 @@
 						dirty = True
 
 					if dirty:
-						doc.save()
+						deduplicate_dynamic_links(doc)
+						doc.update_children()