change resource and support bind machine