modify atribute into method update