finished insert db