shop create and update fix