update type setting