Here is a quick hack to update an ACF (Advanced Custom Fields) field in WordPress.
Place this in functions.php:
// Update all post
function update_all_posts() {
$args = array(
'post_type' => 'event', //or post, page etc
'numberposts' => -1