delete deprecated import code and convert the rest of the fields