Adding context update functions.
Fixed pathing d3 reference and path from relative not to entire top.