Store processed data in db