Implemented editTransaction