Pass d3 update function into directive
extra r attr