Commit all pending changes