Commiting before update