[x] Modify codeblock to allow different modification flow for charts (probably new component needed)
[x] Create backend route for modifying sql query for chart (with validation of results, and then updating the linked chart by manually modifying the json)
[x] Refetch chart data on frontend after modification is successful (update by result_id)
Issue #, if available: #140, #139
WIP, still todo: