Updated which fields are used for the catalog_id field from id to tot_id.