updated Expand Node to work on all selected nodes