Update datatable based on changes in another datatable

Is there a way to make table update based on changes in another datatable?

I have datatable referencing the data from another data table.

     Output('table_comments', 'style'),   
        Input("dropdown_team", "value"),
        Input('table_plan', 'active_cell')   

     State("table_plan", "data"),
def insert_comment(team, active_cell, data):

    df = pd.DataFrame(data)

When I change my dropdown values the upper table (table_plan) changes, but the other stays the same. Is there a way to trigger change?

Isn’t it just a matter of use Input("table_plan", "data") instead of State("table_plan", "data")?

Otherwise changes in table_plan dropdowns won’t trigger the re-execution of the callback you wrote.