change instance class