only update md5 for files that have been touched