complete database insert job