I have tried to update a gallery field and the images shows up in frontend but not the backend.

```
// I have also tried to use the ACF field name like $field = 'field_xxxxxxxxxxxxx';

$field = 'images';

$post_id = 12345;

$attachments_ids = [
    0 => 22222,
    1 => 33333,
    2 => 44444,
    3 => 55555
];

update_field($field, $attachment_ids, $post_id);

```