styling and graph updates