Refactor Node Relationships