Update database without submit button

I have a dataframe, I want users to be able to come to my Application and fill up a dataframe, this could be done multiple times and I want to update my database basis what they type. But this is to be done without submit button. What are my options?

Try the on_change param in st.data_editor