updated code for stores page