Updating queueing and deleting mechanism for both error and queue data.