Update thumbnail on file change