adding routing to child parent documents