updated Grocery class