better implementations for modified deleted and untracked