update_data function

Update data of an explainer object