modify field to Internal case class