New try: use transaction in receipt updates