Entries update automatically in the front end

I have a function that takes entry data and saves it in acf fields,
and than displaying it on the front end.
the function works. the problem is that i use the gform_after_submission hook. so important data like payment method is not being updated automatically.
how can i change it. now the changes in the data is updated only if the form is submitted?

I’m not sure of your exact situation and why you’re double storing the data. …But why not just store the EntryID in ACF, then you can return the most current data from the entry using get_entries(). It’ll also allow for any edits to the data to happen in one location as opposed to two.