sending analysis data to the database