finish data fetching and updating