call hooks when inserting named children