store api data in service