Update GenericResource.java