updated the way defaulters are being exported in flat_tables
updated changes