fix create folder on update configFile