two-step edit method