updated graph and some stats calls