update type card