edit config for iFrame