Adding record to DB for each upload