Changing BB content, programatically?

I’m running a script to change the location of some img files. I’ve got images copied to new dir, img meta updated, etc etc. Even have it looking in the post_content, to replace any references. This all works, except for BB posts. I see that the content for BB post is in post_meta, under _fl_builder_data, and that the content is in a serialized array.

I know that in order to update this meta, i’ll need to unserialize, into an array, make my changes in the array, seriazlize, then update. Or, using the wordpress functions:

$m    = get_post_meta($post->ID, '_fl_builder_data');
// make changes
update_post_meta($post->ID, '_fl_builder_data', serialize($m));

But, is that it?