Committing pending changes