Graph data updates more efficiently.

Graph data updates by appending one data point to the array instead of
downloading a CSV every time. Started work on updating database with
graph settings.