store stories in local db