updates type styles