code: def update_readme_for_modules(modules):
      
      readme = parse_readme()
      module_docstrings = core_module_docstrings()
      if modules == ["__all__"]:
          modules = core_module_docstrings().keys()
      for module in modules:
          if module in module_docstrings:
              print_stderr("Updating README.md for module {}".format(module))
              readme[module] = module_docstrings[module]
          else:
              print_stderr("Module {} not in core modules".format(module))
  
      # write the file
      readme_file = os.path.join(modules_directory(), "README.md")
      with open(readme_file, "w") as f:
          f.write(create_readme(readme))
docs: Update README.md updating the sections for the module names listed.