Update Resource.scala