Changed metod edit