update controller and resources