updating shop fn