Committing all the pending changes