prepare adding mtime to index