Update asset type using csv

Consider for-comprehension or `flatMap` with `getOrElse`.