committing updated document