added logging to edit transactions