update the content of the controller