update in class activity 1