updating controller and groups