edit detachment