how to insert multiple data into the database simultaneously