update type class