update method in class
update file and method in class
method in class is updated