update of class