update type model