update type styling