update type define