update transation & merge