Rewriting DB relations: addParent() & removeParent()