Use and acf/update_value filter and apply the same logic in reverse https://www.advancedcustomfields.com/resources/acfupdate_value/
use update_post_meta() to insert the values.
You should also using get_post_meta() when dealing with non ACF fields, event if get_field() will sometimes work.