Fix a bug with refreshing the table and make parent node available to node context