insert dones in the database