<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 async def data_update(queue):
 """ Update data sent by the background process to global allData variable """

    global allData
    while True:
        while not queue.empty():
            data = queue.get()
            allData[data[0]] = data[1]
        for key, value in tags.items():
            if key in allData:
                allData[key]['name'] = value
        await asyncio.sleep(0.5)