Add updating functionality.

Needed to configure the resource to submit a ‘put’ request.
Use PATCH (instead of PUT) for updating.
Add a dummy stock chart shown when a checkbox is ticked.
Show charts for each stock.
Better whitespacing to improve readability.