Update task dict