import yaml


def read_config(config, data_file):
    """ Read the config for bob

    Args:
        config -- the configuration object whith the default values
        json_data_file -- the json file which holds the configuration inforation
    Returns:
        the updated configuration
    """
    with data_file:
        loaded_conf = yaml.safe_load(data_file)
        config.update(loaded_conf["bob"])
        return config