Update Resource.cs