modify graph value