updates to get_nodes

Change-Id: Ie82f00a61a702555f7b89b4ba6437539130198f0