fix updating a parent of a parent