upload now inserts into db