change resource dir