fixing possible bug of not updating xml files

Signed-off-by: Werner Macho <werner.macho@gmail.com>