add/remove nodes, save to localStorage