Enforcing db ref integrity; updated shopping list table