update to list to dic