update task queue