update code type styles