migrated ACF to metabox with self made scripts. but when using datafields to be shown in i.e. products of a certain category fields do not show immediately after category is selected (like with ACF). first I have so save, publish and refresh the product to see the fields. - something I ca do to change this?