class method update