update store functions