update ui with styles