smart record import/update