renamed update_selectors to update_active_nodes