Updated how nodes are stored