update task ref