update code for shopList