changes resources & controller