How would I go about sending a response from a query from a custom widget to the table widget dynamically?