added upload line in the graph. still not upto full functionality