Add missing transaction commit