Update type_index from master.