Updates controller structure.