debug function to change order status