def METHOD_NAME(cfg_dict: dict, project_cfg_path: Path):
    """Updates the manim.cfg file after reading it from the project_cfg_path.
    Parameters
    ----------
    cfg_dict
        values used to update manim.cfg found project_cfg_path.
    project_cfg_path
        Path of manim.cfg file.
    """
    config = configparser.ConfigParser()
    config.read(project_cfg_path)
    cli_config = config["CLI"]
    for key, value in cfg_dict.items():
        if key == "resolution":
            cli_config["pixel_height"] = str(value[0])
            cli_config["pixel_width"] = str(value[1])
        else:
            cli_config[key] = str(value)
    with project_cfg_path.open("w") as conf:
        config.write(conf)