added the to order table for each order