I am using a mat-table to list the content of the users chosen languages. They can also add new languages using dialog panel. After they added a language and returned back.
You can just use the datasource connect function
this.datasource.connect().next(data);
like so. 'data' being the new values for the datatable