whole edit with a bug - orphan relation