save DB with the dictionary of foods