update merge.sh for ob type