Insert items into a database