forward transaction to before/after create/update hook