changes to legends and nodes