updated OrdersDB functions [Bellas];