update type information