update the ui of order