update trasaction