How to use the same component id twice as output with callback_context?

It looks like you only have 4 arguments from callback, but you have 5 arguments for the function. Thus feature is always None, which forces it to return dash.no_update.