submit order data to database