Ajay/DC | #3680 | Optimized update of ds/unique_id documents for edit flow