updated docs with StoreQuery#when