def METHOD_NAME(self) -> dict:
    """Sync in-memory config with disk.
    Returns:
        dict: updated config
    """
    with self.source as src:
        dpath.util.merge(src, self.config, flags=dpath.MERGE_REPLACE)
    return self.config