partial fix for updating nodes (following
http://bl.ocks.org/mbostock/1095795)