update add-and-commit example to include new paths