Set last_child and parent in make_link