function update_acf_fields() {
$value = get_field('field_name', 'option');
$args = array(
'post_type' => 'post',
'post_status' => 'publish',
'posts_per_page' => -1,
);
$posts = get_posts($args);
foreach ($posts as $post) {
update_field('field_name', $value, $post->ID);
}
}
add_action('acf/save_post', 'update_acf_fields');