thumbnail auto-updated when the file change