change resource creation method