update status of order