JSON update

Tweaked the JSON extraction to include a general stockUpdate method
that will handle the JSON data request, update UI data and graphs and
save data to the SQL database