remove left over update function
remove unused variables and function calls
remove commented out code
remove addSVG from datagraph ctrl