def _convert_change_list_to_new_query_json(inp_json, change_list):
    """
    As the json for the new query would be very similar to the json of the
    requested query, the oversights only return a list of changes to
    be made in the current json.
    This function takes as input the current json, applies the list of
    changes & returns the new json.

    Args:
        inp_json: Type-dict
            Json of the initial query
        change_list: Type-dict
            Changes to be made in the current json
            keys - key in the json that needs to be updated
            values - the updated value

    Returns:
        the json for the new query
    """
    for key in change_list.keys():
        inp_json[key] = change_list[key]

    return inp_json