Update encoding for the import