def update_mailq(data1, data2):
    """ Update mailq dict """
    for key, value in data2.items():
        if key not in data1:
            data1[key] = []
        for item in value:
            data1[key].append(item)
    return data1
