- insert filtered data into db