add database support for order and product