docs: def UpdateResourcesFromDict(dstpath, res, types=None, names=None, 
                              languages=None):
      """
      Update or add resources from resource dict in dll/exe file dstpath.
      
      types = a list of resource types to update (None = all)
      names = a list of resource names to update (None = all)
      languages = a list of resource languages to update (None = all)
      
      """
      if types: types = set(types)
      if names: names = set(names)
      if langauges: languages = set(languages)
      for type_ in res:
          if not types or type_ in types:
              for name in res[type_]:
                  if not names or name in names:
                      for language in res[type_][name]:
                          if not languages or language in languages:
                              UpdateResources(dstpath, 
                                              res[type_][name][language], 
                                              [type_], [name], [language])