Added type_of_order and changed the order status