updates some of the views