update store API