fixed remove bug where orphan's parents werent updated