inside the class use @changed_attributes