How do I update the X and Y axis on the 2D graph?