Replace Duplicate Relations Method Added