updated the coding of shopping list and rating feature