created orders in the order history table