update detachment

change redirect after adding detachment