Update task handle