add resource, change resource name