Committing before updating