Set the ext field for each format