done local db and store new items to local db