updates some UI