provide creation of TGraph, fix issues with update of TGraph