Added missing .commit()