Update class model