Insert items into database.