update typecard and color palette