update the order