upgrade class and method
update text file