merge outside transaction