add changed files to the commit when saving