Update task queue.