deleting old api data and reloading new one