change resource