unify files_added / files_in_index variables