updating class 3