Updated Deque task.