UPDATE sales_tax_periods SET status = 'paid' WHERE status = 'external';