repository now handles removal of parent