have to think a way to force the refresh.
in advancedsettings.xml there is an interesting code.
2.7 Photos settings
Matches filenames or folders which should be excluded from being displayed in My Pictures using a list of Regular Expressions
<pictureexcludes> <!-- Regular expressions that if evaluated to true won't be displayed in My Pictures -->
<regexp>[-\._ ](sample|trailer)[-\._ ]</regexp>