update detach part