update task config