Update asset type using csv

Use `String.trim` and `toInt`.