implemented editation of orders