updating the store to handle new api calls