[minor] fixed patch
diff --git a/patches/july_2013/p04_merge_duplicate_leads.py b/patches/july_2013/p04_merge_duplicate_leads.py
index d3a5d20..5558add 100644
--- a/patches/july_2013/p04_merge_duplicate_leads.py
+++ b/patches/july_2013/p04_merge_duplicate_leads.py
@@ -10,4 +10,4 @@
 			if email not in email_lead:
 				email_lead[email] = name
 			else:
-				webnotes.rename("Lead", name, email_lead[email], merge=True)
\ No newline at end of file
+				webnotes.rename_doc("Lead", name, email_lead[email], merge=True)
\ No newline at end of file