update graph with prices